﻿#region

using System.ServiceProcess;
using MediaSage.Lib.Configuration;
using MediaSageService.ScheduledTasks;

#endregion

namespace MediaSageService
{
    public partial class MediaSageService : ServiceBase
    {
        #region Constructors

        private Scheduler scheduler;
        private Config config;

        public MediaSageService()
        {
            InitializeComponent();
            config = new Config();
        }

        #endregion Constructors

        #region Methods

        protected override void OnStart(string[] args)
        {
            // Start up our scheduler
            scheduler = new Scheduler(config);
            
        }

        protected override void OnStop()
        {
        }

        #endregion Methods
    }
}